package com.peas.platform.module.icims.budget.apply.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.BudgetOneKpiRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.po.BudgetOneKpiPo;
import com.peas.platform.module.icims.budget.apply.domain.BudgetOneKpiDomain;
import com.peas.platform.module.icims.budget.apply.dto.BudgetOneKpiDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetOneKpiDomainImpl extends BaseDomainImpl<BudgetOneKpiDto, BudgetOneKpiPo> implements BudgetOneKpiDomain {

    @Resource
    private BudgetOneKpiRepository budgetOneKpiRepository;

    @Override
    public BaseRepository<BudgetOneKpiPo> getMapper() {
        return budgetOneKpiRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetOneKpiPo>> getRepositoryClass() {
        return BudgetOneKpiRepository.class;
    }

}
